@extends('admin.main')
@section('content')
    <div class="daohang">
        <ul>
            <li>
                <a href="{{urlAdmin('member','getIndex')}}" class="am-btn am-btn-default am-radius am-btn-xs">
                就诊人管理>
                </a>
            </li>
            <li>
                <button type="button" class="am-btn am-btn-default am-radius am-btn-xs">
                编辑就诊人
                </button>
            </li>
        </ul>
    </div>
    <div class="admin-biaogelist">

        <div class="listbiaoti am-cf">
            <ul class="am-icon-flag on"> 编辑就诊人</ul>
        </div>

        <div class="fbneirong">
            <form class="am-form" action="edit-member" method="post">
                <input type="hidden" name="id" value="{{$data['data']['id']}}" />
                <div class="am-form-group am-cf">
                    <div class="zuo">真实姓名：</div>
                    <div class="you" style="width:200px">
                        <input name="name" value="{{$data['data']['name']}}" type="text" class="am-input-sm" id="doc-ipt-email-1" placeholder="请输入标题" >
                    </div>
                </div>

                <div class="am-form-group am-cf">
                    <div class="zuo">选择类型：</div>
                    <div class="you">
                        <select name="group_id"  data-am-selected="{btnSize: 'sm'}">
                            <option @if($data['data']['user']['group_id'] == 1) selected @endif value="1">普通用户</option>
                            <option @if($data['data']['user']['group_id'] == 2) selected @endif value="2">普通会员</option>
                            <option @if($data['data']['user']['group_id'] == 3) selected @endif value="3">家庭会员</option>
                        </select>
                    </div>
                </div>

                <div class="am-form-group am-cf">
                    <div class="zuo">手机号：</div>
                     <div class="you" style="width:200px">
                        <input name="mobile" value="{{$data['data']['mobile']}}" type="text" class="am-input-sm" id="doc-ipt-email-1" placeholder="请输入标题" >
                    </div>
                </div>



                {{--<div class="am-form-group am-cf">
                    <div class="zuo">性别：</div>
                    <div class="you" style="margin-top: 5px;">
                        <label class="am-checkbox-inline">
                            <input type="radio" name="sex" @if($data['data']['sex']==1)checked @endif value="1">
                            男 </label>
                        <label class="am-checkbox-inline">
                            <input type="radio" name="sex" @if($data['data']['sex']==0)checked @endif value="0">
                            女 </label>
                        <label class="am-checkbox-inline">
                            <input type="radio" name="sex" @if($data['data']['sex']==2)checked @endif value="2">
                            其他 </label>
                    </div>
                </div>
                <div class="am-form-group am-cf">
                    <div class="zuo">生日：</div>
                    <div class="you">
                    <input type="text" name="birthday" value="{{$data['data']['birthday']}}" class="am-input-sm" placeholder="请选择日期" data-am-datepicker="{theme: 'success',}"  readonly/>
                    </div>
                </div>

                <div class="am-form-group am-cf">
                    <div class="zuo">关系：</div>
                    <div class="you">
                        <input name="relation" value="{{$data['data']['relation']}}" type="text" class="am-input-sm" id="doc-ipt-email-1" placeholder="请输入标题" >
                    </div>
                </div>--}}

                <div class="am-form-group am-cf">
                    <div class="you" style="margin-left: 11%;">
                        <center><button type="submit" class="am-btn am-btn-success am-radius">保存并提交</button></center>
                    </div>
                </div>
            </form>
        </div>

    </div>
        @include('admin.footer')
@endsection